/*
 * =====================================================================================
 *
 *       Filename:  cl_lock_guard.hxx
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  12/22/2010 07:43:59 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Ken Chen (Ken), chen_kenz@emc.com
 *        Company:  EMC
 *
 * =====================================================================================
 */

#ifndef _CL_LOCK_GUARD_HXX_
#define _CL_LOCK_GUARD_HXX_

#include "cl_lock.hxx"

namespace neo
{
class CLLockGuard
{
public:
  CLLockGuard(CLLock& lk);
  ~CLLockGuard();

private:
  CLLockGuard(const CLLockGuard&);
  CLLockGuard& operator=(const CLLockGuard&);

private:
  CLLock& m_lock;
};
} // neo

#endif //_CL_LOCK_GUARD_HXX_

